﻿using EntytiBookShop.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntytiBookShop.DAL
{
    public class BookShopContext : DbContext
    {
        public BookShopContext () : base("BookShopDB")
	{
            
	}
        public DbSet<Category> Categories { get; set; }
        public DbSet<Author> Authors { get; set; }
        public DbSet<Book> Books { get; set; }
        public DbSet<BookImage> BookImages { get; set; }

    }
}
